package com.gt.web.srv.web.api.resource;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 家庭积分记录信息;
 *
 * @author Yu Chaohua
 * @date 2024-5-22
 */
@ApiModel(value = "积分榜单记录信息", description = "")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserScoreListResource implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "村民ID")
    private Long peopleId;

    @ApiModelProperty(notes = "村民名称")
    private String peopleName;

    @ApiModelProperty(notes = "村民头像")
    private String peopleHeadUrl;

    @ApiModelProperty(notes = "积分数")
    private Long totalScore;

    @ApiModelProperty(notes = "社区")
    private Long communityId;

    @ApiModelProperty(notes = "社区名称")
    private String communityName;

}